package com.ccdt.tv.smartrecommend.model.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Property;

/**
 * Created by sheng on 2018/9/11.
 * 观看记录实体类
 * 目前为测试数据结构，数据接通后需要改造
 */
@Entity
public class RecordBean {
    //媒资id，影片名称，影片类型，厂商id，海报url,
    @Property
    private Long id;    //改造时替换id
    @Property
    private String mzName;
    @Property
    private String detailUrl;
    @Property
    private String poster;

    public RecordBean() {
    }

    @Generated(hash = 2126443758)
    public RecordBean(Long id, String mzName, String detailUrl, String poster) {
        this.id = id;
        this.mzName = mzName;
        this.detailUrl = detailUrl;
        this.poster = poster;
    }

    public String getMzName() {
        return mzName;
    }

    public void setMzName(String mzName) {
        this.mzName = mzName;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    @Override
    public String toString() {
        return "RecordBean{" +
                "mzName='" + mzName + '\'' +
                ", detailUrl='" + detailUrl + '\'' +
                ", poster='" + poster + '\'' +
                '}';
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
